package kr.ac.postech.marathon.client.models;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Registration implements Serializable {
	
	private String type;
	private String dept;
	private String name;
	private IdNumber idNum;
	private Address addr;
	
	/** Default constructor for RPC serialization */
	public Registration() {
		
		
	}
	
	public Registration(String type, String dept, String name, IdNumber idNum, Address addr) {
		this.type = type;
		this.dept = dept;
		this.name = name;
		this.idNum = idNum;
		this.addr = addr;
	}
	
	public String getType() {
		return type;
	}
	
	public String getDept() {
		return dept;
	}
	
	public String getName() {
		return name;
	}
	
	public IdNumber getIdNum() {
		return idNum;
	}
	
	public Address getAddr() {
		return addr;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public void setDept(String dept) {
		this.dept = dept;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void setId(IdNumber idNum) {
		this.idNum = idNum;
	}
	
	public void setAddr(Address addr) {
		this.addr = addr;
	}
	
}
